const c=require("../controllers/food.server.controller")

function fn(app){
	app.route("/food/page/:pageNo")
	.get(c.findFoodsByPage);

	app.route("/food/:fId/setStatus/:fStatus")
	.put(c.updateFoodStatus);

	app.route("/ita_project4_admin/food/get/passFId")
	.get(c.findAllRecFoodsId)

}


module.exports=fn;